import QtQuick 2.4

Item {
    width: 1024
    height: 768
    property alias tipImage: tipImage
    property alias backImageButton: backImageButton
    property alias countdownNumberImage: countdownNumberImage
    property alias freezeProgressBar: freezeProgressBar
    property alias optionDText: optionDText.text
    property alias optionCText: optionCText.text
    property alias optionBText: optionBText.text
    property alias optionAText: optionAText.text
    property alias optionDChecked: optionDCheckImage.checked
    property alias optionCChecked: optionCCheckImage.checked
    property alias optionBChecked: optionBCheckImage.checked
    property alias optionAChecked: optionACheckImage.checked

    property alias optionACheckImage: optionACheckImage
    property alias optionBCheckImage: optionBCheckImage
    property alias optionCCheckImage: optionCCheckImage
    property alias optionDCheckImage: optionDCheckImage

    property alias questionDespText: questionDespText.text

    Image {
        id: image
        anchors.fill: parent
        source: "../Images/bk/question.jpg"
        fillMode: Image.PreserveAspectFit

        Text {
            id: questionDespText
            x: 145
            y: 200
            width: 731
            height: 112
            text: qsTr("问题")
            verticalAlignment: Text.AlignVCenter
            font.pixelSize: 12
        }

        CheckImage {
            id: optionACheckImage
            x: 145
            y: 358
            width: 40
            height: 38
            checkedSource: "../Images/fg/checked_box.png"
            source: "../Images/fg/check_box.png"
        }

        CheckImage {
            id: optionBCheckImage
            x: 145
            y: 416
            width: 40
            height: 38
            checkedSource: "../Images/fg/checked_box.png"
            source: "../Images/fg/check_box.png"
        }

        CheckImage {
            id: optionCCheckImage
            x: 145
            y: 473
            width: 40
            height: 38
            checkedSource: "../Images/fg/checked_box.png"
            source: "../Images/fg/check_box.png"
        }

        CheckImage {
            id: optionDCheckImage
            x: 145
            y: 532
            width: 40
            height: 38
            checkedSource: "../Images/fg/checked_box.png"
            source: "../Images/fg/check_box.png"
        }

        Text {
            id: optionAText
            x: 191
            y: 358
            width: 541
            height: 38
            text: "A."
            verticalAlignment: Text.AlignVCenter
            horizontalAlignment: Text.AlignLeft
            font.pixelSize: 12
        }

        Text {
            id: optionBText
            x: 191
            y: 416
            width: 541
            height: 38
            text: qsTr("Text")
            verticalAlignment: Text.AlignVCenter
            font.pixelSize: 12
        }

        Text {
            id: optionCText
            x: 191
            y: 473
            width: 541
            height: 38
            text: qsTr("Text")
            verticalAlignment: Text.AlignVCenter
            font.pixelSize: 12
        }

        Text {
            id: optionDText
            x: 191
            y: 532
            width: 541
            height: 38
            text: qsTr("Text")
            verticalAlignment: Text.AlignVCenter
            font.pixelSize: 12
        }

        ProgressBar {
            id: freezeProgressBar
            x: 650
            y: 151
            visible: false
        }

        NumberImage {
            id: countdownNumberImage
            x: 720
            y: 129
            width: 70
            height: 65
            visible: false
            source: "../Images/bk/countdown.png"
        }

        ImageButton {
            id: backImageButton
            x: 728
            y: 576
            width: 148
            height: 77
            source: "../Images/fg/back.png"
            pressedSource: "../Images/fg/back_p.png"
        }

        Image {
            id: tipImage
            x: 782
            y: 292
            width: 131
            height: 184
            visible: false
            source: "../Images/fg/compete.png"
            fillMode: Image.PreserveAspectFit
        }
    }
}
